import { isUndefined, assign } from 'lodash'
import Utils from '../utils'
export default class Toolkit {
    static has (obj, prop) {
        return Object.prototype.hasOwnProperty.call(obj, prop)
    }

    static isUndef (val) {
        return Utils.isUndef(val)
    }

    static isNull (val) {
        return Utils.isNull(val)
    }

    static ensure (ary) {
        return Utils.ensure(ary)
    }

    static assign (target, ...sources) {
        return Object.assign(target, ...sources)
    }
}
